package com.feiyuan.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.feiyuan.common.utils.PageUtils;
import com.feiyuan.modules.sys.entity.AppVersionEntity;

import java.util.Map;

/**
 * 
 *
 * @author Xupf
 * @email xupengfei131276@126.com
 * @date 2024-04-22 17:12:38
 */
public interface AppVersionService extends IService<AppVersionEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 上传操作
     * @param filebytes
     * @param fileName
     * @return
     */
    String upload(byte[] filebytes, String fileName, long fileSize);

    void saveAppVersion(AppVersionEntity appVersion);

    void updateAppVersionById(AppVersionEntity appVersion);

    Map<String, Object> isUpdate(String versionNum);
}

